package com.xy.excel;

import com.xy.service.ICertificateApplyService;
import lombok.RequiredArgsConstructor;
import org.springblade.core.excel.support.ExcelImporter;

import java.util.List;

/**
 * @BelongsPackage: com.xy.excel
 * @Author: WK
 * @CreateTime: 2023-07-19
 * @Description:
 * @Version: 1.0
 */
@RequiredArgsConstructor
public class VehicleImporter implements ExcelImporter<VehicleExcelTemp> {
	private final ICertificateApplyService service;

 	private final Boolean isCovered;

	 private final  String cid;
	@Override
	public void save(List<VehicleExcelTemp> data) {
		service.importVeData(data, isCovered,cid);
	}
}

